package com.kaili.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xjh
 * @ClassName EwbsDeliveryVO
 * @Description 派车接货VO
 * @Date 上午9:21 18-5-22
 * @Version 1.0
 */
@Data
public class DeliveryQueryVO {

    @ApiModelProperty(value = "接货单流水号")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private String operationId;

    @Excel(name = "接货单号", orderNum = "1")
    @ApiModelProperty(value = "接货单号")
    private String deliveryNo;


    @Excel(name = "派车时间", orderNum = "2" , format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "派车时间")
    private Date sendCarTime;

    @Excel(name = "接货人", orderNum = "3")
    @ApiModelProperty(value = "接货人")
    private String  deliveryName;

    @Excel(name = "车牌号", orderNum = "4")
    @ApiModelProperty(value = "车牌号")
    private String  carNo;

    @Excel(name = "接货费", orderNum = "5")
    @ApiModelProperty(value = "接货费")
    private Double  amount;

    @Excel(name = "接货件数", orderNum = "6")
    @ApiModelProperty(value = "接货件数")
    private Double  piece;

    @Excel(name = "接货重量", orderNum = "7")
    @ApiModelProperty(value = "接货重量")
    private Double  weight;

    @Excel(name = "接货体积", orderNum = "8")
    @ApiModelProperty(value = "接货体积")
    private Double  vol;

    @Excel(name = "完成时间", orderNum = "9" , format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "完成时间")
    private Date finishTime;

    @Excel(name = "操作员", orderNum = "10")
    @ApiModelProperty(value = "操作员")
    private String operatorName;

    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    @ApiModelProperty(value = "驾驶员id")
    private Integer driverId;

    @ApiModelProperty(value = "备注")
    private  String remark;

    @ApiModelProperty("预约单列表")
    private List<AppointQueryVO> queryAppointList;
}
